Repository navigation
Release 0.6.0 - #382
Merged
Merged
Release 0.6.0#382
Conversation
Bump brainstat.__version__ to 0.6.0 and add a project CHANGELOG.md covering the work landed in #378 / #379 / #380 / #381. This release re-greens CI, fixes a cluster of correctness bugs in the statistics core, adds the FreeSurfer Destrieux atlas to fetch_parcellation, hardens the Neurosynth fetcher, and adopts the literature-aligned (high = darker) default for BigBrain histology profiles. Backwards-incompatible changes are called out at the top of CHANGELOG.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
brainstat.__version__to 0.6.0 and adds a projectCHANGELOG.mddocumenting the work folded in across #378 / #379 / #380 / #381.This is a minor release — see the Backwards-incompatible changes section of the changelog for the user-visible behaviour shifts (BigBrain histology profile inversion, SLM input coercion, numpy/pandas pins).
What landed (full detail in
CHANGELOG.md)Statistics-core bug fixes
SLM._surfstat_to_brainstat_rft(Retrieval of yeo7 information has off-by-1 error in python code #347)cmath.sqrt→math.sqrtinSLM.pyfetch_template_surfaceimport droppedsys.exitin_t_test.pyreplaced withraise ValueErrorfloat(...)on size-1 ndarrays replaced with.item()(numpy 2 compat)Public-API contract fixes (#342)
SLM.__init__coercescontrastto numeric; rejects object/categorical with a clearTypeErrorSLM.__init__coerces integer 0/1maskto boolsurf=None + correction='rft'error now points users atcorrection='fdr'Behaviour change (#274)
read_histology_profilenow inverts BigBrain intensities by default (invert=True);invert=Falserecovers prior behaviour. MPC/gradient outputs are unaffected.New features
fetch_parcellation(template, "destrieux", ...)returns the FreeSurfer Destrieux 2009 parcellation (no parcellation for GLM with Freesurfer. #343)Maintenance
peak_clus.column_vectorno longer usesmustBeVector([FIX] column_vector uses mustBeVector from MATLAB 2020b+ #285)# type: ignoreremoved fromSLM.pyand_multiple_comparisons.py; mypy no longer crashes on the class-body imports ([REF] Remove #type: ignore from SLM class #199)Tests / coverage
How to publish
Once this PR merges:
v0.6.0onmasterto triggertagged_release.yml(PyPI + MATLAB artifact + GitHub Release).Out of scope (still tracked)
SLM(the ambitious half of Volumetric mixed effects #342)fetch_parcellation(companion to no parcellation for GLM with Freesurfer. #343)setuptools<81/numpy<2/pandas<2.1pins onceabagenis patchedmypyCI job once the ~380 latent typing errors are triaged